Buffer Information Structure
The buffer information structure is provided for your convenience in keeping track of where you last left off in anOTBuffer
structure. Because the no-copy receive buffer structure (OTBuffer)
is read-only, you may need to copy the data in sections as you progress through the no-copy receive buffer.The buffer information structure is defined by the
OTBufferInfo
data type.
struct OTBufferInfo { OTBuffer*fBuffer; size_t fOffset; UInt8 fPad; }; typedef struct OTBufferInfo OTBufferInfo;
Field Description
- fBuffer
- A pointer to the no-copy receive buffer.
- fOffset
- An offset indicating how much of the buffer to read.
fPad
- Reserved.